You store lab PDFs and starter code in: sp-labs-2026-assets.
Lifecycle rules cool the data over time, moving it to cheaper storage and eventually expiring it safely.
The simulator connects these ideas with a vertical thermometer so students can literally see the “heat” going down.
{
"Rules": [{
"ID": "labs-2026-lifecycle",
"Filter": { "Prefix": "secure-coding/2026/" },
"Status": "Enabled",
"Transitions": [
{ "Days": 90, "StorageClass": "STANDARD_IA" },
{ "Days": 365, "StorageClass": "GLACIER" }
],
"Expiration": { "Days": 1825 } // 5 years
}]
}
Cost per GB-month
▲
│ Standard (HOT)
│ Standard-IA (WARM)
│ Glacier (COLD)
└────────────────────────▶ Access frequency
Ask students to place real workloads (logs, lab files, images) on this scale.
Track one lab object as it cools over time. Thermometer on the left, lifecycle nodes on the right.
secure-coding/2026/sqli-lab-v1.pdfVersioning changes how lifecycle works. Instead of deleting an object outright, lifecycle can:
{
"ID": "exam-papers-2026",
"Filter": { "Prefix": "exams/2026/" },
"Status": "Enabled",
"NoncurrentVersionTransitions": [
{
"NoncurrentDays": 30,
"StorageClass": "STANDARD_IA"
}
],
"NoncurrentVersionExpiration": {
"NoncurrentDays": 365
}
}
Click an action to see how deletes behave with & without versioning.
Use for a quick concept check at the end of the lesson.
You have not submitted yet.